﻿describe("My First Test", function () {

    it("should be true", function () {
        expect(true).toBe(true);
    });
});

describe("app module", function () {
    beforeEach(angular.mock.module("main"));

    describe("LandingPageController", function () {
        var scope,
            controller; 

        beforeEach(inject(function ($rootScope, $controller) {
            scope = $rootScope.$new();
            controller = $controller;
        }));

        it("should assign message to hello world", function () {
            controller("LandingPageController", { $scope: scope });
            expect(scope.helloAngular).toBe("test hello words"); 
        });
    });
});